﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Backend.JYD.Config
{
    public class ConfigUtilities
    {
        #region Section

        public const string ConfigName_LogConfig = "syslogger";
        public const string ConfigName_WatcherConfig = "syswatcher";
        public const string ConfigName_CacheConfig = "syscache";
        public const string ConfigName_EnyimCacheConfig = "memcached";
        public const string ConfigName_ConnectionConfig = "sysconnections";

        #endregion

        #region 公共属性名
        
        //public const string ConfigName_ConnectionStrings = "connectionStrings";
        public const string ConfigName_Config_Name = "name";
        public const string ConfigName_Config_Enable = "enable";

        #endregion
        
        #region CacheConfig属性名
        
        public const string ConfigName_CacheConfig_Node = "cache";
        public const string ConfigName_CacheConfig_CacheType = "cachetype";
        public const string ConfigName_CacheConfig_CacheTime = "cachetime";
        public const string ConfigName_CacheConfig_Perfix = "perfix";

        #endregion

        #region WatcherConfig属性名

        public const string ConfigName_WatcherConfig_Wacthers = "wacthers";
        public const string ConfigName_WatcherConfig_Type = "type";
        public const string ConfigName_WatcherConfig_Path = "path";
        public const string ConfigName_WatcherConfig_Executer = "executer";
        public const string ConfigName_WatcherConfig_IncludeSubdirectories = "includesubdirectories";

        #endregion

        
    }
}
